package com.yxt.qmgf.shop.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.yxt.qmgf.common.ClientSession;
import com.yxt.qmgf.userinfo.vo.UserInfoVO;
import lombok.Data;

@Data
@TableName("shop")
public class entity {
    private UserInfoVO user = (UserInfoVO)ClientSession.getAttribute("user_info");
    @TableId(type = IdType.AUTO)
    private Integer id;

    private String name;

    private String gongneng;

    private String price;

    private Integer have;

    private String Uid;


    public UserInfoVO getUser() {
        return user;
    }

    public void setUser(UserInfoVO user) {
        this.user = user;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getGongneng() {
        return gongneng;
    }

    public void setGongneng(String gongneng) {
        this.gongneng = gongneng;
    }

    public String getPrice() {
        return price;
    }

    public void setPrice(String price) {
        this.price = price;
    }

    public Integer getHave() {
        return have;
    }

    public void setHave(Integer have) {
        this.have = have;
    }

    public String getUid() {
        return Uid;
    }

    public void setUid(String uid) {
        Uid = uid;
    }
}
